//the controller class :o
class Controller
{
public:
	void SetButtons(int B1,int B2,int B3,int B4,int B5,int B6,int B7,int B8){
		Start = B1;
		A = B2;
		B = B3;
		Y = B4;
		X = B5;
		L = B6;
		R = B7;
		Z = B8;
	};
	void SetAnalog(int A1,int A2,int A3,int A4,int A5,int A6,int A7, int A8){
	ApadUp = A1;
	ApadDown = A2;
	ApadLeft = A3;
	ApadRight = A4;
	ApadUpLeft = A5;
	ApadUpRight = A6;
	ApadDownLeft = A7;
	ApadDownRight = A8;	
	};
	void SetDigital(int D1,int D2,int D3,int D4)
	{
		DpadUp = D1;
		DpadDown = D2;
		DpadLeft = D3;
		DpadRight = D4;
	};
	int GetStart(){return Start;};
	//ALL LETTERS WRITEN HERE AS NOTE ARE ON AN AZERTY!!!
	int Start;// = 13 = enter
	int A;// = 115 = s
	int B;// = 113 = q
	int Y;// = 122 = z
	int X;// = 100 = d
	int L;// = 97 = a
	int R;// = 101 = e
	int Z;// = 114 = r
	int ApadUp;// = 111 = o
	int ApadDown;// = 108 = l
	int ApadLeft;// = 107 = k
	int ApadRight;// = 109 = m
	int ApadUpLeft;// = 105 = i
	int ApadUpRight; // = 112 = p
	int ApadDownLeft; // = 59 = ;
	int ApadDownRight; // = 58 = :
	int DpadUp; // = 116 = t
	int DpadDown; // = 103 = g
	int DpadLeft; // = 102 = f
	int DpadRight; // = 104 = h
};